home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 January
/
Macworld (1998-01).dmg
/
Games Hall of Fame
/
Duke Nukem 3D
/
Duke Nukem 3D Demo (PPC)
/
Duke Nukem 3D Demo
/
Duke Nukem 3D Demo.rsrc
/
scrp_1000_BreakObject
< prev
next >
Wrap
Text File
|
1997-08-04
|
7KB
|
380 lines
ifaction 0
{
action ANULLACTION
cstator 257
ifactor ROBOTMOUSE
clipdist 64
}
else
ifactor ROBOTMOUSE
{
ifdead
{
ifcount 32
{
globalsound MOUSEANNOY
killit
}
break
}
ifcount 64 ifrnd 6
{
ifrnd 128
move MOUSEVELS randomangle geth
else
{
ifrnd 64
soundonce HAPPYMOUSESND1
else
ifrnd 64
soundonce HAPPYMOUSESND2
else
ifrnd 64
soundonce HAPPYMOUSESND3
else
soundonce HAPPYMOUSESND4
}
resetcount
}
}
ifhitweapon
{
ifdead
{
ifactor FOODOBJECT6
state jibfood
else
ifactor FOODOBJECT11
state jibfood
else
ifactor FOODOBJECT12
state jibfood
else
ifactor FOODOBJECT13
state jibfood
else
ifactor FOODOBJECT14
state jibfood
else
ifactor FOODOBJECT15
state jibfood
else
ifactor FOODOBJECT16
state jibfood
else
ifactor FOODOBJECT17
state jibfood
else
ifactor SKINNEDCHICKEN
state jibfood
else
ifactor SHOPPINGCART
{
debris SCRAP1 5
debris SCRAP2 5
debris SCRAP3 5
sound GLASS_HEAVYBREAK
killit
}
else
ifactor ROBOTDOG2
{
soundonce DEAD_DOG
guts JIBS2 1
guts JIBS3 2
guts JIBS6 3
killit
}
else
ifactor FEATHEREDCHICKEN
state jibfood
else
ifactor DOLPHIN1
{
guts JIBS2 1
guts JIBS3 2
guts JIBS4 3
guts JIBS5 2
state jibfood
}
else
ifactor DOLPHIN2
{
guts JIBS2 1
guts JIBS3 2
guts JIBS4 3
guts JIBS5 2
state jibfood
}
else
ifactor SNAKEP
{
guts JIBS2 1
guts JIBS3 2
guts JIBS4 3
guts JIBS5 2
state jibfood
}
else
ifactor DONUTS
{
spritepal 7
guts JIBS6 2
killit
}
else
ifactor DONUTS2
{
debris SCRAP1 1
spritepal 7
guts JIBS6 2
killit
}
else
ifactor MAILBAG
{
mail 30
debris SCRAP3 5
debris SCRAP4 3
killit
}
else
ifactor TEDDYBEAR
{
debris SCRAP3 5
spritepal 1
debris SCRAP3 6
}
else
{
ifrnd 128
sound GLASS_BREAKING
else
sound GLASS_HEAVYBREAK
}
ifactor CLOCK
{
cactor BROKENCLOCK
break
}
else
ifactor JOLLYMEAL
{
spawn ATOMICHEALTH
debris SCRAP3 1
debris SCRAP4 2
}
else
ifactor GUMBALLMACHINE
{
cactor GUMBALLMACHINEBROKE
strength 1
debris SCRAP4 2
lotsofglass 10
break
}
else
ifactor GUMBALLMACHINEBROKE
{
debris SCRAP3 3
debris SCRAP4 2
lotsofglass 10
}
else
ifactor DUKEBURGER
{
debris SCRAP3 14
debris SCRAP1 13
debris SCRAP4 12
debris SCRAP2 12
debris SCRAP5 11
}
else
ifactor POLICELIGHTPOLE
{
debris SCRAP3 4
debris SCRAP1 3
debris SCRAP4 2
debris SCRAP2 2
debris SCRAP5 1
}
else
ifactor TOPSECRET
paper 10
else
ifactor GUNPOWDERBARREL
{
spawn EXPLOSION2
sound PIPEBOMB_EXPLODE
hitradius 2048 WEAKEST WEAK MEDIUMSTRENGTH TOUGH
ifpdistl 2048
wackplayer
debris SCRAP1 10 // Weapons and ammo!
debris SCRAP2 13
debris SCRAP3 4
debris SCRAP4 17
debris SCRAP5 6
}
else
ifactor FLOORBASKET
{
spawn PUKE
debris SCRAP1 2
debris SCRAP3 3
debris SCRAP4 2
}
else
ifactor ROBOTMOUSE
{
debris SCRAP2 10
spritepal 1
debris SCRAP3 4
resetcount
cstat 32768
break
}
else
ifactor ROBOTPIRATE
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor PIRATE1A
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor MAN
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor MAN2
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor PIRATE2A
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor PIRATE3A
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor PIRATE4A
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor PIRATE4A
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor PIRATE5A
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
ifactor PIRATE6A
{
debris SCRAP2 10
debris SCRAP1 5
debris SCRAP3 3
lotsofglass 10
}
else
{
lotsofglass 10
debris SCRAP4 3
}
killit
}
else
ifactor DOLPHIN1
{
guts JIBS6 1
soundonce DOLPHINSND
ifstrength TOUGH
{
cactor DOLPHIN2
sound SQUISHED
}
}
else
ifactor DOLPHIN2
{
guts JIBS6 1
soundonce DOLPHINSND
}
else
ifactor ROBOTDOG2
{
guts JIBS6 1
soundonce WHINING_DOG
}
}
else
{
ifactor CLOCK
nullop
else
ifactor TOPSECRET
nullop
else
ifactor SKINNEDCHICKEN
nullop
else
ifactor FEATHEREDCHICKEN
nullop
else
ifactor FOODOBJECT2
nullop
else
ifactor FOODOBJECT6
nullop
else
ifactor DOLPHIN1
nullop
else
ifactor DOLPHIN2
nullop
else
fall
}
ends